package com.hns.phone.pushMsg.util;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.hns.phone.pushMsg.vo.MessageStatusVo;

@Component
public class MessageStatusNotification {
	
	@Autowired
	private BasePushClient client;
	
	public MessageStatusNotification(){}


	public MessageStatusVo getMessageStatus(String appkey, String appMasterSecret, String taskId) throws Exception{
		MessageStatusVo msgStatus = client.getMsgStatus(appkey, appMasterSecret, taskId);
		return msgStatus;
	}

	
	
}
